<% if flash[:success] %>
	<div class="alert green rounded-8 success">
		<h1><%= t :success, :scope => :alerts%></h1>
		<p><%= flash[:success] %></p>
	</div>
<% end %>
<% if flash[:warning] %>
	<div class="alert red rounded-8 notice">
		<h1><%= t :warning, :scope => :alerts %></h1>
		<p><%= flash[:warning] %></p>
	</div>
<% end %>
<% if flash[:error] %>
	<div class="alert red rounded-8 error">
		<h1><%= t :error, :scope => :alerts %></h1>
		<p><%= flash[:error] %></p>
	</div>
<% end %>
<% if flash[:notice] %>
	<div class="alert yellow attention rounded-8">
		<h1><%= t :notice, :scope => :alerts %></h1>
		<p><%= flash[:notice] %></p>
	</div>
<% end %>
<% if flash[:message] %>
	<div class="alert gray center rounded-8 center">
		<h1><%= t :message, :scope => :alerts %></h1>
		<p><%= flash[:message] %></p>
	</div>
<% end %>